                <table>
                    <thead>
                        <tr>

                   	        <g:sortableColumn property="number" title="进货序号" />

                   	        <g:sortableColumn property="amount" title="数量" />

                   	        <g:sortableColumn property="inPrice" title="进价" />

                            <g:sortableColumn property="productName" title="产品名称" />

                   	        <g:sortableColumn property="modelNo" title="型号" />

                   	        <g:sortableColumn property="outPrice" title="零售价" />

                            <g:sortableColumn property="time" title="进货时间" />

                            <g:sortableColumn property="productFlag" title="货品情况" />

                            <g:sortableColumn property="id" title="查看"/>

                        </tr>
                    </thead>
                    <tbody>
                    <g:each in="${importProductInstanceList}" status="i" var="productInstance">

                        <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">

                            <td><g:link action="productDetailList" id="${productInstance.number}">${fieldValue(bean:productInstance, field:'number')}</g:link></td>

                            <td>${fieldValue(bean:productInstance, field:'amount')}</td>

                            <td>${fieldValue(bean:productInstance, field:'inPrice')}</td>

                            <td>${fieldValue(bean:productInstance, field:'productName')}</td>

                            <td>${fieldValue(bean:productInstance, field:'modelNo')}</td>

                            <td>${fieldValue(bean:productInstance, field:'outPrice')}</td>

                            <td><g:customDateFormat>${fieldValue(bean:productInstance, field:'time')}</g:customDateFormat></td>

                            <td>${fieldValue(bean:productInstance, field:'productFlag')}</td>

                            <td><g:link action="show" id="${productInstance.id}">查看详情</g:link></td>

                        </tr>

                    </g:each>
                    </tbody>
                </table>
